composer 镜像
方法一
composer config -g repo.packagist composer https://packagist.phpcomposer.com
方法二
composer config repo.packagist composer https://packagist.phpcomposer.com
解除镜象
composer config -g --unset repos.packagist
查看使用的镜像地址
composer config -g repo.packagist
其他镜像
composer config -g repo.packagist composer https://packagist.laravel-china.org